load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "unitchecker",
    srcs = [
        "unitchecker.go",
        "unitchecker112.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/golang.org/x/tools/go/analysis/unitchecker",
    importpath = "golang.org/x/tools/go/analysis/unitchecker",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/golang.org/x/tools/go/analysis",
        "//vendor/golang.org/x/tools/go/analysis/internal/analysisflags",
        "//vendor/golang.org/x/tools/go/analysis/internal/facts",
    ],
)
